package cn.dada.dadarecipes.mall.shop.pojo.vo;

import cn.dada.dadarecipes.mall.product.pojo.entity.Product;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class ShopVO {
    @ApiModelProperty(value = "店铺id")
    private Long id;
    @ApiModelProperty(value = "商家id")
    private Long businessId;
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    @ApiModelProperty(value = "店铺地址")
    private String address;
    @ApiModelProperty(value = "经度")
    private String longitude;
    @ApiModelProperty(value = "纬度")
    private String latitude;
    @ApiModelProperty(value = "联系方式")
    private String contact;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT-8" )
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT-8" )
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    private List<Product> productList;

//    @ApiModelProperty(value = "商品名称")
//    private String productName;
//    @ApiModelProperty(value = "商品描述")
//    private String description;
//    @ApiModelProperty(value = "商品价格")
//    private Double price;
//    @ApiModelProperty(value = "商品图片")
//    private String productImg;
//    @ApiModelProperty(value = "商品视频")
//    private String productVideo;



}
